package com.cqq.print.base.dao.impl;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.cqq.print.base.dao.domain.PStandard;
import com.cqq.print.base.dao.mapper.PStandardMapper;


/**
 * @author generated
 * @date 2015-08-29
 */


@Repository(value="pStandardDao")
public class PStandardDaoImpl extends com.cqq.common.core.base.BaseDao implements com.cqq.print.base.dao.PStandardDao{

             @Autowired
             private PStandardMapper pStandardMapper;



    public int deleteByPrimaryKey(Integer id){
        return pStandardMapper.deleteByPrimaryKey(id);
    }

    public int insert(PStandard record){
        return pStandardMapper.insert(record);
    }

    public int insertSelective(PStandard record){
        return pStandardMapper.insertSelective(record);
    }

    public PStandard selectByPrimaryKey(Integer id){
        return pStandardMapper.selectByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(PStandard record){
        return pStandardMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(PStandard record){
        return pStandardMapper.updateByPrimaryKey(record);
    }

	
	public List<PStandard> queryPStandard() {
		return pStandardMapper.queryPStandard();
	}

	
	public List<PStandard> queryAllPStandard(Map<String,Object> map) {
		return pStandardMapper.queryAllPStandard(map);
	}

	
	public int queryAllPStandardCount(Map<String, Object> map) {
		return pStandardMapper.queryAllPStandardCount(map);
	}



}